package com.ruoyi.system.service.impl;
import com.ruoyi.system.entity.PreventionRiskStudyandjudge;
import com.ruoyi.system.mapper.PreventionRiskStudyandjudgeMapper;
import com.ruoyi.system.service.PreventionRiskStudyandjudgeService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 风险研判 服务实现类
 * </p>
 * @since 2023-03-14
 */
@Service
public class PreventionRiskStudyandjudgeServiceImpl implements PreventionRiskStudyandjudgeService {
    @Resource
    private PreventionRiskStudyandjudgeMapper preventionRiskStudyandjudgeMapper;

    @Override
    public List<PreventionRiskStudyandjudge> queryByPage(PreventionRiskStudyandjudge preventionRiskStudyandjudge) {
        return preventionRiskStudyandjudgeMapper.queryAllByLimit(preventionRiskStudyandjudge);
    }

    @Override
    public PreventionRiskStudyandjudge queryById(Integer id) {
        return preventionRiskStudyandjudgeMapper.queryById(id);
    }
}
